/**
 * created by 小卷毛, 2020/12/11
 * Copyright (c) 2020, 416143467@qq.com All Rights Reserved.
 * #                   *********                            #
 * #                  ************                          #
 * #                  *************                         #
 * #                 **  ***********                        #
 * #                ***  ****** *****                       #
 * #                *** *******   ****                      #
 * #               ***  ********** ****                     #
 * #              ****  *********** ****                    #
 * #            *****   ***********  *****                  #
 * #           ******   *** ********   *****                #
 * #           *****   ***   ********   ******              #
 * #          ******   ***  ***********   ******            #
 * #         ******   **** **************  ******           #
 * #        *******  ********************* *******          #
 * #        *******  ******************************         #
 * #       *******  ****** ***************** *******        #
 * #       *******  ****** ****** *********   ******        #
 * #       *******    **  ******   ******     ******        #
 * #       *******        ******    *****     *****         #
 * #        ******        *****     *****     ****          #
 * #         *****        ****      *****     ***           #
 * #          *****       ***        ***      *             #
 * #            **       ****        ****                   #
 */
package com.sgcc.pda.lib_tools_database.bean.ticket;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 描 述：离线本地图片表
 * 作 者：小卷毛  2020-12-11 11:23
 * 修改描述：增加文件来源模式
 * 修 改 人：
 * 修改版本：v1.2.1
 */
@Entity
public class LocalImage {

    @Id(autoincrement = true)
    private Long id;

    private String parentId; //表关联ID
    private String attachMode; //文件来源（1许可、2班前会、3风险点、4终结、5在线风险点）
    private String attachStatus; //文件状态（01待上传、02已上传、03待下载、04已下载）
    private String attachId; //文件关联ID
    private String attachName; //文件关联字段
    private String attachType; //文件类型（01图片、02视频、03音频）
    private String attachSrc; //本地路径（提交前）/网络路径（提交后）
    private String attachLocal; //本地路径

    // 附加字段
    private String wtPersonType; //签字人员类型
    private String wtSignPattern; //操作类型
    private String operatorId; //人员ID

    @Generated(hash = 1609231876)
    public LocalImage(Long id, String parentId, String attachMode,
                      String attachStatus, String attachId, String attachName,
                      String attachType, String attachSrc, String attachLocal,
                      String wtPersonType, String wtSignPattern, String operatorId) {
        this.id = id;
        this.parentId = parentId;
        this.attachMode = attachMode;
        this.attachStatus = attachStatus;
        this.attachId = attachId;
        this.attachName = attachName;
        this.attachType = attachType;
        this.attachSrc = attachSrc;
        this.attachLocal = attachLocal;
        this.wtPersonType = wtPersonType;
        this.wtSignPattern = wtSignPattern;
        this.operatorId = operatorId;
    }

    @Generated(hash = 1967361340)
    public LocalImage() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getParentId() {
        return this.parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getAttachMode() {
        return this.attachMode;
    }

    public void setAttachMode(String attachMode) {
        this.attachMode = attachMode;
    }

    public String getAttachStatus() {
        return this.attachStatus;
    }

    public void setAttachStatus(String attachStatus) {
        this.attachStatus = attachStatus;
    }

    public String getAttachId() {
        return this.attachId;
    }

    public void setAttachId(String attachId) {
        this.attachId = attachId;
    }

    public String getAttachName() {
        return this.attachName;
    }

    public void setAttachName(String attachName) {
        this.attachName = attachName;
    }

    public String getAttachType() {
        return this.attachType;
    }

    public void setAttachType(String attachType) {
        this.attachType = attachType;
    }

    public String getAttachSrc() {
        return this.attachSrc;
    }

    public void setAttachSrc(String attachSrc) {
        this.attachSrc = attachSrc;
    }

    public String getAttachLocal() {
        return this.attachLocal;
    }

    public void setAttachLocal(String attachLocal) {
        this.attachLocal = attachLocal;
    }

    public String getWtPersonType() {
        return this.wtPersonType;
    }

    public void setWtPersonType(String wtPersonType) {
        this.wtPersonType = wtPersonType;
    }

    public String getWtSignPattern() {
        return this.wtSignPattern;
    }

    public void setWtSignPattern(String wtSignPattern) {
        this.wtSignPattern = wtSignPattern;
    }

    public String getOperatorId() {
        return this.operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

}
